class EmployeeController < ApplicationController
layout "office"
active_scaffold :employees do | config |
config.columns = [:name, :job_role,:timings, :category, :date_of_joining, :salary, :qualification, :experience,
                  :remarks, :Telephone_r, :cell_no, :email,
                 :add_1, :add_2, :city, :state, :pin, ]
config.list.columns = [:id, :name, :job_role, :category, :timings ]
end
end
